/*
 * @Description: 身份发行-模块路由
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2025-02-11
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2025-02-12
 */

export default [
  // 身份管理
  {
    path: '/idmanage',
    name: 'idmanage',
    component: () => import('/@/layouts/layoutMenu.vue'),
    children: [
      // 身份发行
      {
        path: 'publish',
        name: 'idmanage-publish',
        redirect: '/idmanage/publish/list',
        children: [
          {
            path: 'list',
            name: 'idmanage-publish-list',
            component: () => import('/@/views/main/idManage/publish/list.vue'),
          },
          {
            path: 'edit',
            name: 'idmanage-publish-edit',
            component: () => import('/@/views/main/idManage/publish/edit.vue'),
          },
        ],
      },
      {
        path: 'check',
        name: 'idmanage-check',
        redirect: '/idmanage/check/list',
        children: [
          {
            path: 'list',
            name: 'idmanage-check-list',
            component: () => import('/@/views/main/idManage/check/list.vue'),
          },
          {
            path: 'details',
            name: 'idmanage-check-details',
            component: () => import('/@/views/main/idManage/check/details.vue'),
          },
        ],
      },
      // 任务管理
      {
        path: 'task',
        name: 'idmanage-task',
        component: () => import('/@/views/subModule/index.vue'),
      },
    ],
  },
  // 表单问卷
  {
    path: '/question',
    name: 'question',
    component: () => import('/@/layouts/layoutMenu.vue'),
    children: [
      {
        path: 'page',
        name: 'question-page',
        component: () => import('/@/views/subModule/index.vue'),
      },
    ],
  },
  // 工作流
  {
    path: '/process',
    name: 'process',
    component: () => import('/@/layouts/layoutMenu.vue'),
    children: [
      {
        path: 'process-list',
        name: 'process-process-list',
        component: () => import('/@/views/subModule/index.vue'),
      },
      {
        path: 'flow-path',
        name: 'process-flow-path',
        component: () => import('/@/views/subModule/index.vue'),
      },
      {
        path: 'examine-list',
        name: 'process-examine-list',
        component: () => import('/@/views/subModule/index.vue'),
      },
    ],
  },
]
